#@layout()
#define main()
<div class="container-fluid am-cf">
    <div class="row">
        <div class="am-u-sm-12 am-u-md-12 am-u-lg-9">
            <div class="page-header-heading"><span class="am-icon-info page-header-heading-icon"></span> 关于我们 <small>about us</small></div>
        </div>
    </div>
</div>
<div class="row-content am-cf">
    <div class="row">
        <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
            <div class="widget am-cf">
                <div class="widget-body am-fr">

                    <form action="/admin/info/save" class="am-form tpl-form-line-form">
                        <input type="hidden" class="tpl-form-input" id="role-id" name="info.id" value="#(info.id??)">
                        <div class="am-form-group">
                            <label class="am-u-sm-3 am-form-label">徽标 <span class="tpl-form-line-small-title">logo</span></label>
                            <div class="am-u-sm-9">
                                <div class="am-form-group am-form-file">
                                    <img class="" style="width: 100px;height: 100px;" alt="点击图片上传" id="up-logo-touch" onerror="this.src='/admin/common/AmazeUI/img/logo_s.png'" src="#(info.logo??)" data-am-popover="{content: '点击上传', trigger: 'hover focus'}" >
                                    <input type="hidden" class="tpl-form-input" id="logo-save-path" name="info.logo" value="#(info.logo??)" />
                                </div>
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label for="info-name" class="am-u-sm-3 am-form-label">公司名 <span class="tpl-form-line-small-title">name</span></label>
                            <div class="am-u-sm-9">
                                <input type="text" class="tpl-form-input" id="info-name" name="info.name" value="#(info.name??)" placeholder="请输入公司名">
                                <small>#(nameMsg)</small>
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label for="info-email" class="am-u-sm-3 am-form-label">公司邮箱 <span class="tpl-form-line-small-title">email</span></label>
                            <div class="am-u-sm-9">
                                <input type="text" class="tpl-form-input" id="info-email" name="info.email" value="#(info.email??)" placeholder="请输入公司邮箱">
                                <small>#(emailMsg)</small>
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label for="info-address" class="am-u-sm-3 am-form-label">公司地址 <span class="tpl-form-line-small-title">address</span></label>
                            <div class="am-u-sm-9">
                                <input type="text" class="tpl-form-input" id="info-address" name="info.address" value="#(info.address??)" placeholder="请输入公司地址">
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label for="info-tel" class="am-u-sm-3 am-form-label">公司电话 <span class="tpl-form-line-small-title">tel</span></label>
                            <div class="am-u-sm-9">
                                <input type="text" class="tpl-form-input" id="info-tel" name="info.tel" value="#(info.tel??)" placeholder="请输入公司电话">
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label for="info-slogan" class="am-u-sm-3 am-form-label">公司标语 <span class="tpl-form-line-small-title">slogan</span></label>
                            <div class="am-u-sm-9">
                                <input type="text" class="tpl-form-input" id="info-slogan" name="info.slogan" value="#(info.slogan??)" placeholder="请输入公司标语">
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label class="am-u-sm-3 am-form-label">二维码 <span class="tpl-form-line-small-title">qr code</span></label>
                            <div class="am-u-sm-9">
                                <div class="am-form-group am-form-file">
                                    <img class="" style="width: 100px;height: 100px;" alt="点击图片上传" id="up-qr-touch" onerror="this.src='/admin/img/erweima.png'" src="#(info.qr_code??)" data-am-popover="{content: '点击上传', trigger: 'hover focus'}" >
                                    <input type="hidden" class="tpl-form-input" id="qr-save-path" name="info.qr_code" value="#(info.qr_code??)" />
                                </div>
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label for="info-introduction" class="am-u-sm-3 am-form-label">公司简介 <span class="tpl-form-line-small-title">introduction</span></label>
                            <div class="am-u-sm-9">
                                <textarea class="" rows="10" id="info-introduction" name="info.introduction" placeholder="请输入公司简介">#(info.introduction??)</textarea>
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label for="info-culture" class="am-u-sm-3 am-form-label">公司文化 <span class="tpl-form-line-small-title">culture</span></label>
                            <div class="am-u-sm-9">
                                <textarea class="" rows="10" id="info-culture" name="info.culture" placeholder="请输入公司文化">#(info.culture??)</textarea>
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label for="info-contact" class="am-u-sm-3 am-form-label">联系人 <span class="tpl-form-line-small-title">contact</span></label>
                            <div class="am-u-sm-9">
                                <select id="info-contact" name="info.contact" data-am-selected="{searchBox: 0}" style="display: none;">
                                    #for(u : userList)
                                    <option value=#(u.id) #(u.id==info.contact?'selected':'')>#(u.name?u.name:u.account)</option>
                                    #end
                                </select>
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label for="info-record_number" class="am-u-sm-3 am-form-label">网站备案号 <span class="tpl-form-line-small-title">record number</span></label>
                            <div class="am-u-sm-9">
                                <input type="text" class="tpl-form-input" id="info-record_number" name="info.record_number" value="#(info.recordNumber??)" placeholder="请输入备案号">
                            </div>
                        </div>
                        <div class="am-form-group">
                            <div class="am-u-sm-9 am-u-sm-push-3">
                                <button type="submit" class="am-btn am-btn-primary tpl-btn-bg-color-success ">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
#end